package com.vdong.trade.trading.respository;

import java.util.List;

import com.vdong.trade.trading.entity.mo.WechatPayDataExampleMo;
import com.vdong.trade.trading.entity.mo.WechatPayDataMo;
import com.vdong.trade.trading.entity.mo.WechatPayDataWithBLOBsMo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WechatPayDataMapper {

    int countByExample(WechatPayDataExampleMo example);

    int deleteByExample(WechatPayDataExampleMo example);

    int deleteByPrimaryKey(Long id);

    int insert(WechatPayDataWithBLOBsMo record);

    int insertSelective(WechatPayDataWithBLOBsMo record);

    List<WechatPayDataWithBLOBsMo> selectByExampleWithBLOBs(WechatPayDataExampleMo example);

    List<WechatPayDataMo> selectByExample(WechatPayDataExampleMo example);

    WechatPayDataWithBLOBsMo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WechatPayDataWithBLOBsMo record, @Param("example") WechatPayDataExampleMo example);

    int updateByExampleWithBLOBs(@Param("record") WechatPayDataWithBLOBsMo record, @Param("example") WechatPayDataExampleMo example);

    int updateByExample(@Param("record") WechatPayDataMo record, @Param("example") WechatPayDataExampleMo example);

    int updateByPrimaryKeySelective(WechatPayDataWithBLOBsMo record);

    int updateByPrimaryKeyWithBLOBs(WechatPayDataWithBLOBsMo record);

    int updateByPrimaryKey(WechatPayDataMo record);

}